class A:
    def func01(self):
        print('A func01')
    def func04(self):
        print('A func04')
class B:
    def func02(self):
        print('B func02')
    def func04(self):
        print('B func04')
# 定义子类，同时继承A，B
class C(A, B):
    def func03(self):
        print('C func03')

if __name__ == '__main__':
    c = C()
    c.func01()
    c.func02()
    c.func04()